﻿using System;

namespace IssueIT.Core.Domain.Model
{
	public class Assigment : IEntity
	{
		public static readonly Assigment Unassigned = new NotAssigned();

		private sealed class NotAssigned : Assigment
		{
			public NotAssigned() : base("Unassigned")
			{
				Id = Guid.Empty;
			}
		}

		public Assigment(string name)
		{
			Name = name;
		}

		public Guid Id { get; protected set; }
		public string Name { get; private set; }
	}
}